package co.fitstart.entity.courseware.assessment;

import com.demo2do.core.utils.Alias;

/**
 * 体态（用于2个选项）
 * @author haiyan_xiao
 *
 */
@Alias("postureForTwoOptions")
public enum PostureForTwoOptions {
    NORMAL("normal", "中立位", "中立位", "中立位", "中立位", "正常"),
    
    UNNORMAL("unnormal", "圆肩", "侧倾", "扭转", "超伸", "扁平足");
    
    private String alias;
    
    /** 肩胛骨 */
    private String scapula;
    
    /** 头部 */
    private String head;
    
    /** 颈椎 */
    private String cervicalVertebra;
    
    /** 膝关节 */
    private String kneeJoint;
    
    /** 足部 */
    private String foot;
    
    private PostureForTwoOptions(String alias, String scapula, String head, String cervicalVertebra, String kneeJoint, String foot) {
        this.alias = alias;
        this.scapula = scapula;
        this.head = head;
        this.cervicalVertebra = cervicalVertebra;
        this.kneeJoint = kneeJoint;
        this.foot = foot;
    }
    
    /**
     * 
     * @param alias
     * @return
     */
    public static PostureForTwoOptions aliasOf(String alias) {
        for (PostureForTwoOptions postureForTwoOptions : PostureForTwoOptions.values()) {
            if (postureForTwoOptions.alias.equalsIgnoreCase(alias)) {
                return postureForTwoOptions;
            }
        }
        
        return null;
    }

    /**
     * @return the alias
     */
    public String getAlias() {
        return alias;
    }

    /**
     * @return the scapula
     */
    public String getScapula() {
        return scapula;
    }

    /**
     * @return the head
     */
    public String getHead() {
        return head;
    }

    /**
     * @return the cervicalVertebra
     */
    public String getCervicalVertebra() {
        return cervicalVertebra;
    }

    /**
     * @return the kneeJoint
     */
    public String getKneeJoint() {
        return kneeJoint;
    }

    /**
     * @return the foot
     */
    public String getFoot() {
        return foot;
    }

    /**
     * @param alias the alias to set
     */
    public void setAlias(String alias) {
        this.alias = alias;
    }

    /**
     * @param scapula the scapula to set
     */
    public void setScapula(String scapula) {
        this.scapula = scapula;
    }

    /**
     * @param head the head to set
     */
    public void setHead(String head) {
        this.head = head;
    }

    /**
     * @param cervicalVertebra the cervicalVertebra to set
     */
    public void setCervicalVertebra(String cervicalVertebra) {
        this.cervicalVertebra = cervicalVertebra;
    }

    /**
     * @param kneeJoint the kneeJoint to set
     */
    public void setKneeJoint(String kneeJoint) {
        this.kneeJoint = kneeJoint;
    }

    /**
     * @param foot the foot to set
     */
    public void setFoot(String foot) {
        this.foot = foot;
    }
}
